package com.oig.base.api;


import com.oig.base.api.factory.CurrencyFallBackFactory;
import com.oig.sys.base.vo.BankNoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(contextId="bankNoService",value="sys-base-server",path="/bankNo",fallbackFactory= CurrencyFallBackFactory.class)
public interface BankNoService {

     @PostMapping(value = "/getByBankNo")
     List<BankNoVo> getByBankNo(@RequestBody List<String> bankNoList);

}
